﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Interfaces;
using Model;
using Database;

namespace Collections
{
    public class ScootermaerkeCollection
    {
        public void GemScootermaerke(Iscootermaerke minscooter)
        {
            DbController db = DbController.GetInstance();
            db.IndsaetScootermaerke(minscooter);
        }

        public List<Iscootermaerke> HentScooterMaerker()
        {
            DbController db = DbController.GetInstance();
            List<Iscootermaerke> scootermaerker = new List<Iscootermaerke>();
            scootermaerker = db.HentScootermaerker();
            return scootermaerker;
        }
    }
}
